package com.fancy.net
{
	import com.fancy.framework.BundleContext;
	import com.fancy.framework.BundleManager;
	import com.fancy.framework.IBundleActivator;
	
	public class NetActivator implements IBundleActivator
	{
		public static var leader:NetLeader;
		
		public function NetActivator()
		{
		}
		
		public function start(context:BundleContext):void
		{
			trace("NetActivator::start()");
			leader = new NetLeader(context);
			BundleManager.instance.addBundle(leader);
		}
		
		public function stop():void
		{
			trace("NetActivator::stop()");
		}
	}
}